﻿using SqlSugar;

namespace PMRC.API.Domain
{
    [SugarTable("SYS_ROLE")]
    public class SysRole
    {
        /// <summary>
        /// 角色id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        [SugarColumn(Length = 50)]
        public string Name { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(Length = 200,IsNullable = true)]
        public string? Memo { get; set; }
    }
}
